def yh():
	l = [1];
	while True:
		yield l;
		l.append(0);
		l = [l[i-1] + l[i] for i in range(len(l))];


x = yh();
print(next(x));
print(next(x));
print(next(x));
print(next(x));
print(next(x));
print(next(x));